package org.dtrd.modules.record.entity.bean;

/**
 * 统计指标Bean 肾功能、糖化、BMI、血压、血糖
 *
 * @author lizhongcheng
 * @since 2015-12-10
 */
public class BloodPressureStatisticsBean extends StatisticsBean implements java.io.Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 489614602901178170L;
    /**
     * 定义本类的私有变量
     */
    private Float lowestValue2;
    private Float avgValue2;
    private Float highestValue2;

    /**
     * 本类的实例化方法
     */
    public BloodPressureStatisticsBean() {
    }

    /**
     * 本类的带参数的实例化方法
     */
    public BloodPressureStatisticsBean(Integer id, Integer count, Integer patientId, Integer lowCounts, Integer normalCounts, Integer highCounts,
                                       Float lowestValue, Float avgValue, Float highestValue, Float lowestValue2, Float avgValue2, Float highestValue2) {
        super(id, count, patientId, lowCounts, normalCounts, highCounts, lowestValue, avgValue, highestValue);
        this.lowestValue2 = lowestValue2;
        this.avgValue2 = avgValue2;
        this.highestValue2 = highestValue2;
    }

    public BloodPressureStatisticsBean(Float lowestValue2, Float avgValue2, Float highestValue2) {
        super();
        this.lowestValue2 = lowestValue2;
        this.avgValue2 = avgValue2;
        this.highestValue2 = highestValue2;
    }

    public void copyFrom(BloodPressureStatisticsBean vo) {
        super.copyFrom(vo);
        lowestValue2 = vo.lowestValue2;
        highestValue2 = vo.highestValue2;
        avgValue2 = vo.avgValue2;
    }

    public Float getLowestValue2() {
        return lowestValue2;
    }

    public void setLowestValue2(Float lowestValue2) {
        this.lowestValue2 = lowestValue2;
    }

    public Float getAvgValue2() {
        return avgValue2;
    }

    public void setAvgValue2(Float avgValue2) {
        this.avgValue2 = avgValue2;
    }

    public Float getHighestValue2() {
        return highestValue2;
    }

    public void setHighestValue2(Float highestValue2) {
        this.highestValue2 = highestValue2;
    }

    @Override
    public String toString() {
        return "BloodPressureStatisticsBean [" + (lowestValue2 != null ? "lowestValue2=" + lowestValue2 + ", " : "")
                + (avgValue2 != null ? "avgValue2=" + avgValue2 + ", " : "") + (highestValue2 != null ? "highestValue2=" + highestValue2 + ", " : "")
                + (super.toString() != null ? "toString()=" + super.toString() : "") + "]";
    }

}